package com.jiuzhi.ssm.common.redis;
import java.util.HashMap;
import java.util.Map;


/**
 * 项目所需静态常量统计
 * @author Administrator
 *
 */
public class Constants {  
	
	public static  Map<String,String> mapConstant=new HashMap<String,String>();
	
	/** 业务返回码（成功）*/
	public final static int STATUS_SUCCESS = 1;
	/** 业务返回码（未知错误）*/
	public final static int STATUS_ERROR_UNKNOWN = 0;
	/** 业务返回码（输入参数格式不正确）*/
	public final static int STATUS_ERROR_PARAM = 2;
	/** 业务返回码（业务服务组件调用失败）*/
	public final static int STATUS_ERROR_CALL = 3;
	/** 业务返回码（数据库连接失败）*/
	public final static int STATUS_ERROR_DATABASE = 4;
	/** 业务返回码（数据库操作失败）*/
	public final static int STATUS_ERROR_SQL = 5;
	/**
	 *  1** 相关用户行为方面的提示
	 */
	public final static int STATUS_ERROR_CHECKCODE_OUT = 100;
	/** 业务返回码（验证码不正确）*/
	public final static int STATUS_ERROR_CHECKCODE = 101;
	/** 业务返回码（密码错误）*/
	public final static int STATUS_ERROR_PASSWORD = 102;
	/** 业务返回码（手机号或密码错误）*/
	public final static int STATUS_ERROR_ACCOUNT_PASSWORD =103;
	/** 业务返回码（手机号已存在）*/
	public final static int STATUS_ERROR_EXIST = 104;
	/** 业务返回码（密码确认错误）*/
	public final static int STATUS_ERROR_REPASSWORD = 105;
	/** 业务返回码（重复发送）*/
	public final static int STATUS_REQUEST_ENOUGH = 106;
	/** 业务返回码（不存在）*/
	public final static int STATUS_NOT_EXIST = 107;
	
	public final static String NEW_REPAIR = "newRepair"; 
	
	public final static String SEND_MES = "sendMes";
}